package org.lq.his.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;


public class Registration {
    private Integer id;

    private Patient patient;

    private RegistrationChargeType  registrationChargeType;
    
    private Integer type;

    private Section section;

    private User user;
    
    //上下午
    private Integer stage;
    
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date registrationTime;

    private Double registrationMoney;

    private Dictionary paymentMethod;
    
    private Integer registerState;

    private Integer state;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Patient getPatient() {
		return patient;
	}

	public void setPatient(Patient patient) {
		this.patient = patient;
	}

	public RegistrationChargeType getRegistrationChargeType() {
		return registrationChargeType;
	}

	public void setRegistrationChargeType(RegistrationChargeType registrationChargeType) {
		this.registrationChargeType = registrationChargeType;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Section getSection() {
		return section;
	}

	public void setSection(Section section) {
		this.section = section;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getStage() {
		return stage;
	}

	public void setStage(Integer stage) {
		this.stage = stage;
	}

	public Date getRegistrationTime() {
		return registrationTime;
	}

	public void setRegistrationTime(Date registrationTime) {
		this.registrationTime = registrationTime;
	}

	public Double getRegistrationMoney() {
		return registrationMoney;
	}

	public void setRegistrationMoney(Double registrationMoney) {
		this.registrationMoney = registrationMoney;
	}

	public Dictionary getPaymentMethod() {
		return paymentMethod;
	}

	public void setPaymentMethod(Dictionary paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public Integer getRegisterState() {
		return registerState;
	}

	public void setRegisterState(Integer registerState) {
		this.registerState = registerState;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "Registration [id=" + id + ", patient=" + patient + ", registrationChargeType=" + registrationChargeType
				+ ", type=" + type + ", section=" + section + ", user=" + user + ", stage=" + stage
				+ ", registrationTime=" + registrationTime + ", registrationMoney=" + registrationMoney
				+ ", paymentMethod=" + paymentMethod + ", registerState=" + registerState + ", state=" + state
				+ ", getId()=" + getId() + ", getPatient()=" + getPatient() + ", getRegistrationChargeType()="
				+ getRegistrationChargeType() + ", getType()=" + getType() + ", getSection()=" + getSection()
				+ ", getUser()=" + getUser() + ", getStage()=" + getStage() + ", getRegistrationTime()="
				+ getRegistrationTime() + ", getRegistrationMoney()=" + getRegistrationMoney() + ", getPaymentMethod()="
				+ getPaymentMethod() + ", getRegisterState()=" + getRegisterState() + ", getState()=" + getState()
				+ ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()=" + super.toString()
				+ "]";
	}
	 
	
	
}